// Prueba.cpp : main project file.

#include "stdafx.h"
#include "Form1.h"

using namespace Perceptron;

[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
	// Enabling Windows XP visual effects before any controls are created
	Application::EnableVisualStyles();
	Application::SetCompatibleTextRenderingDefault(false); 
	Form1 ^myform = gcnew Form1();
	
	//create model	
	model ^mod = gcnew model();
	mod->addObserver(myform);
	
	myform->setmodel(mod);
	// Create the main window and run it
	Application::Run(myform);	
	
	return 0;
}